package com.itheima.service;

import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.Map;

/**
 * @Author: bowen
 * @Date: 2019/7/20 15:13
 * @Description:
 */
public interface MemberService {
	Member findByTelephone(String telephone);

	void add(Member member);
	List<Integer> findCountByMonth(List<String> months);

    List<Map> getSexProportion();

	Set<String> getSexNames();

	Map<String,List> findCountBy2Month(String startDate, String endDate) throws Exception;

	//
	List<Map<String, Object>> findMemberCount();
}
